Optimal. Leaf size=216 \[ -\frac{35 c^3 \sqrt{x} (8 b B-9 A c)}{64 b^5 \sqrt{b x+c x^2}}-\frac{35 c^2 (8 b B-9 A c)}{192 b^4 \sqrt{x} \sqrt{b x+c x^2}}+\frac{35 c^3 (8 b B-9 A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{64 b^{11/2}}+\frac{7 c (8 b B-9 A c)}{96 b^3 x^{3/2} \sqrt{b x+c x^2}}-\frac{8 b B-9 A c}{24 b^2 x^{5/2} \sqrt{b x+c x^2}}-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.185957, antiderivative size = 216, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.208, Rules used = {792, 672, 666, 660, 207} \[ -\frac{35 c^3 \sqrt{x} (8 b B-9 A c)}{64 b^5 \sqrt{b x+c x^2}}-\frac{35 c^2 (8 b B-9 A c)}{192 b^4 \sqrt{x} \sqrt{b x+c x^2}}+\frac{35 c^3 (8 b B-9 A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{64 b^{11/2}}+\frac{7 c (8 b B-9 A c)}{96 b^3 x^{3/2} \sqrt{b x+c x^2}}-\frac{8 b B-9 A c}{24 b^2 x^{5/2} \sqrt{b x+c x^2}}-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 792
Rule 672
Rule 666
Rule 660
Rule 207
Rubi steps
\begin{align*} \int \frac{A+B x}{x^{7/2} \left (b x+c x^2\right )^{3/2}} \, dx &=-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}}+\frac{\left (\frac{1}{2} (b B-2 A c)-\frac{7}{2} (-b B+A c)\right ) \int \frac{1}{x^{5/2} \left (b x+c x^2\right )^{3/2}} \, dx}{4 b}\\ &=-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}}-\frac{8 b B-9 A c}{24 b^2 x^{5/2} \sqrt{b x+c x^2}}-\frac{(7 c (8 b B-9 A c)) \int \frac{1}{x^{3/2} \left (b x+c x^2\right )^{3/2}} \, dx}{48 b^2}\\ &=-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}}-\frac{8 b B-9 A c}{24 b^2 x^{5/2} \sqrt{b x+c x^2}}+\frac{7 c (8 b B-9 A c)}{96 b^3 x^{3/2} \sqrt{b x+c x^2}}+\frac{\left (35 c^2 (8 b B-9 A c)\right ) \int \frac{1}{\sqrt{x} \left (b x+c x^2\right )^{3/2}} \, dx}{192 b^3}\\ &=-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}}-\frac{8 b B-9 A c}{24 b^2 x^{5/2} \sqrt{b x+c x^2}}+\frac{7 c (8 b B-9 A c)}{96 b^3 x^{3/2} \sqrt{b x+c x^2}}-\frac{35 c^2 (8 b B-9 A c)}{192 b^4 \sqrt{x} \sqrt{b x+c x^2}}-\frac{\left (35 c^3 (8 b B-9 A c)\right ) \int \frac{\sqrt{x}}{\left (b x+c x^2\right )^{3/2}} \, dx}{128 b^4}\\ &=-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}}-\frac{8 b B-9 A c}{24 b^2 x^{5/2} \sqrt{b x+c x^2}}+\frac{7 c (8 b B-9 A c)}{96 b^3 x^{3/2} \sqrt{b x+c x^2}}-\frac{35 c^2 (8 b B-9 A c)}{192 b^4 \sqrt{x} \sqrt{b x+c x^2}}-\frac{35 c^3 (8 b B-9 A c) \sqrt{x}}{64 b^5 \sqrt{b x+c x^2}}-\frac{\left (35 c^3 (8 b B-9 A c)\right ) \int \frac{1}{\sqrt{x} \sqrt{b x+c x^2}} \, dx}{128 b^5}\\ &=-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}}-\frac{8 b B-9 A c}{24 b^2 x^{5/2} \sqrt{b x+c x^2}}+\frac{7 c (8 b B-9 A c)}{96 b^3 x^{3/2} \sqrt{b x+c x^2}}-\frac{35 c^2 (8 b B-9 A c)}{192 b^4 \sqrt{x} \sqrt{b x+c x^2}}-\frac{35 c^3 (8 b B-9 A c) \sqrt{x}}{64 b^5 \sqrt{b x+c x^2}}-\frac{\left (35 c^3 (8 b B-9 A c)\right ) \operatorname{Subst}\left (\int \frac{1}{-b+x^2} \, dx,x,\frac{\sqrt{b x+c x^2}}{\sqrt{x}}\right )}{64 b^5}\\ &=-\frac{A}{4 b x^{7/2} \sqrt{b x+c x^2}}-\frac{8 b B-9 A c}{24 b^2 x^{5/2} \sqrt{b x+c x^2}}+\frac{7 c (8 b B-9 A c)}{96 b^3 x^{3/2} \sqrt{b x+c x^2}}-\frac{35 c^2 (8 b B-9 A c)}{192 b^4 \sqrt{x} \sqrt{b x+c x^2}}-\frac{35 c^3 (8 b B-9 A c) \sqrt{x}}{64 b^5 \sqrt{b x+c x^2}}+\frac{35 c^3 (8 b B-9 A c) \tanh ^{-1}\left (\frac{\sqrt{b x+c x^2}}{\sqrt{b} \sqrt{x}}\right )}{64 b^{11/2}}\\ \end{align*}
Mathematica [C] time = 0.0250122, size = 62, normalized size = 0.29 \[ \frac{c^3 x^4 (9 A c-8 b B) \, _2F_1\left (-\frac{1}{2},4;\frac{1}{2};\frac{c x}{b}+1\right )-A b^4}{4 b^5 x^{7/2} \sqrt{x (b+c x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.023, size = 174, normalized size = 0.8 \begin{align*} -{\frac{1}{192\,cx+192\,b}\sqrt{x \left ( cx+b \right ) } \left ( 945\,A{\it Artanh} \left ({\frac{\sqrt{cx+b}}{\sqrt{b}}} \right ) \sqrt{cx+b}{x}^{4}{c}^{4}+64\,B{b}^{9/2}x-112\,B{b}^{7/2}{x}^{2}c+280\,B{b}^{5/2}{x}^{3}{c}^{2}+840\,B{b}^{3/2}{x}^{4}{c}^{3}-840\,B{\it Artanh} \left ({\frac{\sqrt{cx+b}}{\sqrt{b}}} \right ) \sqrt{cx+b}{x}^{4}b{c}^{3}+48\,A{b}^{9/2}-72\,A{b}^{7/2}xc+126\,A{b}^{5/2}{x}^{2}{c}^{2}-315\,A{b}^{3/2}{x}^{3}{c}^{3}-945\,A\sqrt{b}{x}^{4}{c}^{4} \right ){x}^{-{\frac{9}{2}}}{b}^{-{\frac{11}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{B x + A}{{\left (c x^{2} + b x\right )}^{\frac{3}{2}} x^{\frac{7}{2}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.8804, size = 907, normalized size = 4.2 \begin{align*} \left [-\frac{105 \,{\left ({\left (8 \, B b c^{4} - 9 \, A c^{5}\right )} x^{6} +{\left (8 \, B b^{2} c^{3} - 9 \, A b c^{4}\right )} x^{5}\right )} \sqrt{b} \log \left (-\frac{c x^{2} + 2 \, b x - 2 \, \sqrt{c x^{2} + b x} \sqrt{b} \sqrt{x}}{x^{2}}\right ) + 2 \,{\left (48 \, A b^{5} + 105 \,{\left (8 \, B b^{2} c^{3} - 9 \, A b c^{4}\right )} x^{4} + 35 \,{\left (8 \, B b^{3} c^{2} - 9 \, A b^{2} c^{3}\right )} x^{3} - 14 \,{\left (8 \, B b^{4} c - 9 \, A b^{3} c^{2}\right )} x^{2} + 8 \,{\left (8 \, B b^{5} - 9 \, A b^{4} c\right )} x\right )} \sqrt{c x^{2} + b x} \sqrt{x}}{384 \,{\left (b^{6} c x^{6} + b^{7} x^{5}\right )}}, -\frac{105 \,{\left ({\left (8 \, B b c^{4} - 9 \, A c^{5}\right )} x^{6} +{\left (8 \, B b^{2} c^{3} - 9 \, A b c^{4}\right )} x^{5}\right )} \sqrt{-b} \arctan \left (\frac{\sqrt{-b} \sqrt{x}}{\sqrt{c x^{2} + b x}}\right ) +{\left (48 \, A b^{5} + 105 \,{\left (8 \, B b^{2} c^{3} - 9 \, A b c^{4}\right )} x^{4} + 35 \,{\left (8 \, B b^{3} c^{2} - 9 \, A b^{2} c^{3}\right )} x^{3} - 14 \,{\left (8 \, B b^{4} c - 9 \, A b^{3} c^{2}\right )} x^{2} + 8 \,{\left (8 \, B b^{5} - 9 \, A b^{4} c\right )} x\right )} \sqrt{c x^{2} + b x} \sqrt{x}}{192 \,{\left (b^{6} c x^{6} + b^{7} x^{5}\right )}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.33644, size = 266, normalized size = 1.23 \begin{align*} -\frac{35 \,{\left (8 \, B b c^{3} - 9 \, A c^{4}\right )} \arctan \left (\frac{\sqrt{c x + b}}{\sqrt{-b}}\right )}{64 \, \sqrt{-b} b^{5}} - \frac{2 \,{\left (B b c^{3} - A c^{4}\right )}}{\sqrt{c x + b} b^{5}} - \frac{456 \,{\left (c x + b\right )}^{\frac{7}{2}} B b c^{3} - 1544 \,{\left (c x + b\right )}^{\frac{5}{2}} B b^{2} c^{3} + 1784 \,{\left (c x + b\right )}^{\frac{3}{2}} B b^{3} c^{3} - 696 \, \sqrt{c x + b} B b^{4} c^{3} - 561 \,{\left (c x + b\right )}^{\frac{7}{2}} A c^{4} + 1929 \,{\left (c x + b\right )}^{\frac{5}{2}} A b c^{4} - 2295 \,{\left (c x + b\right )}^{\frac{3}{2}} A b^{2} c^{4} + 975 \, \sqrt{c x + b} A b^{3} c^{4}}{192 \, b^{5} c^{4} x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]